package com.hq.bean;

public class CP {
    private Integer cid;
    private String cname;
    private String cpic;
    private Integer pid;
    private String pname;
    private Double price;

    private String pids;
    private String pnames;
    private String prices;

    @Override
    public String toString() {
        return "CP{" +
                "cid=" + cid +
                ", cname='" + cname + '\'' +
                ", cpic='" + cpic + '\'' +
                ", pid=" + pid +
                ", pname='" + pname + '\'' +
                ", price=" + price +
                ", pids='" + pids + '\'' +
                ", pnames='" + pnames + '\'' +
                ", prices='" + prices + '\'' +
                '}';
    }

    public Integer getCid() {
        return cid;
    }

    public void setCid(Integer cid) {
        this.cid = cid;
    }

    public String getCname() {
        return cname;
    }

    public void setCname(String cname) {
        this.cname = cname;
    }

    public String getCpic() {
        return cpic;
    }

    public void setCpic(String cpic) {
        this.cpic = cpic;
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public String getPname() {
        return pname;
    }

    public void setPname(String pname) {
        this.pname = pname;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public String getPids() {
        return pids;
    }

    public void setPids(String pids) {
        this.pids = pids;
    }

    public String getPnames() {
        return pnames;
    }

    public void setPnames(String pnames) {
        this.pnames = pnames;
    }

    public String getPrices() {
        return prices;
    }

    public void setPrices(String prices) {
        this.prices = prices;
    }

    public CP() {
    }

    public CP(Integer cid, String cname, String cpic, Integer pid, String pname, Double price, String pids, String pnames, String prices) {

        this.cid = cid;
        this.cname = cname;
        this.cpic = cpic;
        this.pid = pid;
        this.pname = pname;
        this.price = price;
        this.pids = pids;
        this.pnames = pnames;
        this.prices = prices;
    }
}
